package com.dhcc.bpm.modules.content.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 操作日志表
 * </p>
 *
 * @author cdh
 * @since 2021-12-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("OPC_OPERATION_TRACK")
@ApiModel(value="OperationTrack对象", description="操作日志表")
public class OperationTrack implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId("ID")
    private Long id;

    @ApiModelProperty(value = "流水号")
    @TableField("TRACE_NO")
    private String traceNo;

    @ApiModelProperty(value = "操作轨迹")
    @TableField("OPERATION_TRACK")
    private String operationTrack;

//    @ApiModelProperty(value = "用户名称")
//    @TableField("USER_ID")
//    private Long userId;

    @ApiModelProperty(value = "索引号")
    @TableField("INDEX_NUM")
    private Integer indexNum;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_USER")
    private Long createUser;

    @ApiModelProperty(value = "创建部门")
    @TableField("CREATE_DEPT")
    private Long createDept;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_USER")
    private Long updateUser;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "租户ID")
    @TableField("TENANT_ID")
    private String tenantId;

    @ApiModelProperty(value = "状态")
    @TableField("STATUS")
    private Long status;

    @ApiModelProperty(value = "删除标识")
    @TableField("IS_DELETED")
    private Long isDeleted;


}
